Integrand size = 45, antiderivative size = 178 \[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {2 a (A+7 B) \sin (c+d x)}{35 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a (24 A+28 B+35 C) \sin (c+d x)}{105 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {4 a (24 A+28 B+35 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \sec (c+d x)}}+\frac {2 A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)} \]
[Out]
Time = 0.53 (sec) , antiderivative size = 178, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.089, Rules used = {4171, 4100, 3890, 3889} \[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {4 a (24 A+28 B+35 C) \sin (c+d x) \sqrt {\sec (c+d x)}}{105 d \sqrt {a \sec (c+d x)+a}}+\frac {2 a (24 A+28 B+35 C) \sin (c+d x)}{105 d \sqrt {\sec (c+d x)} \sqrt {a \sec (c+d x)+a}}+\frac {2 a (A+7 B) \sin (c+d x)}{35 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}+\frac {2 A \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{7 d \sec ^{\frac {5}{2}}(c+d x)} \]
[In]
[Out]
Rule 3889
Rule 3890
Rule 4100
Rule 4171
Rubi steps \begin{align*} \text {integral}& = \frac {2 A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)}+\frac {2 \int \frac {\sqrt {a+a \sec (c+d x)} \left (\frac {1}{2} a (A+7 B)+\frac {1}{2} a (4 A+7 C) \sec (c+d x)\right )}{\sec ^{\frac {5}{2}}(c+d x)} \, dx}{7 a} \\ & = \frac {2 a (A+7 B) \sin (c+d x)}{35 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)}+\frac {1}{35} (24 A+28 B+35 C) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx \\ & = \frac {2 a (A+7 B) \sin (c+d x)}{35 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a (24 A+28 B+35 C) \sin (c+d x)}{105 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {2 A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)}+\frac {1}{105} (2 (24 A+28 B+35 C)) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx \\ & = \frac {2 a (A+7 B) \sin (c+d x)}{35 d \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)}}+\frac {2 a (24 A+28 B+35 C) \sin (c+d x)}{105 d \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {4 a (24 A+28 B+35 C) \sqrt {\sec (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \sec (c+d x)}}+\frac {2 A \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d \sec ^{\frac {5}{2}}(c+d x)} \\ \end{align*}
Time = 1.07 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.53 \[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {2 a \left (15 A+3 (6 A+7 B) \sec (c+d x)+(24 A+28 B+35 C) \sec ^2(c+d x)+(48 A+56 B+70 C) \sec ^3(c+d x)\right ) \sin (c+d x)}{105 d \sec ^{\frac {5}{2}}(c+d x) \sqrt {a (1+\sec (c+d x))}} \]
[In]
[Out]
Time = 1.31 (sec) , antiderivative size = 112, normalized size of antiderivative = 0.63
method | result | size |
default | \(\frac {2 \left (15 A \cos \left (d x +c \right )^{3}+18 A \cos \left (d x +c \right )^{2}+21 B \cos \left (d x +c \right )^{2}+24 A \cos \left (d x +c \right )+28 B \cos \left (d x +c \right )+35 C \cos \left (d x +c \right )+48 A +56 B +70 C \right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{105 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(112\) |
parts | \(\frac {2 A \left (5 \cos \left (d x +c \right )^{3}+6 \cos \left (d x +c \right )^{2}+8 \cos \left (d x +c \right )+16\right ) \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \tan \left (d x +c \right )}{35 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}+\frac {2 B \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \left (3 \sin \left (d x +c \right )+4 \tan \left (d x +c \right )+8 \sec \left (d x +c \right ) \tan \left (d x +c \right )\right )}{15 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {5}{2}}}+\frac {2 C \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \left (\sin \left (d x +c \right )+2 \tan \left (d x +c \right )\right )}{3 d \left (\cos \left (d x +c \right )+1\right ) \sec \left (d x +c \right )^{\frac {3}{2}}}\) | \(192\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 115, normalized size of antiderivative = 0.65 \[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {2 \, {\left (15 \, A \cos \left (d x + c\right )^{4} + 3 \, {\left (6 \, A + 7 \, B\right )} \cos \left (d x + c\right )^{3} + {\left (24 \, A + 28 \, B + 35 \, C\right )} \cos \left (d x + c\right )^{2} + 2 \, {\left (24 \, A + 28 \, B + 35 \, C\right )} \cos \left (d x + c\right )\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{105 \, {\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 609 vs. \(2 (154) = 308\).
Time = 0.52 (sec) , antiderivative size = 609, normalized size of antiderivative = 3.42 \[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\int { \frac {{\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \sqrt {a \sec \left (d x + c\right ) + a}}{\sec \left (d x + c\right )^{\frac {7}{2}}} \,d x } \]
[In]
[Out]
Time = 18.80 (sec) , antiderivative size = 151, normalized size of antiderivative = 0.85 \[ \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx=\frac {\cos \left (c+d\,x\right )\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}\,\sqrt {\frac {a\,\left (\cos \left (c+d\,x\right )+1\right )}{\cos \left (c+d\,x\right )}}\,\left (420\,A\,\sin \left (c+d\,x\right )+490\,B\,\sin \left (c+d\,x\right )+560\,C\,\sin \left (c+d\,x\right )+126\,A\,\sin \left (2\,c+2\,d\,x\right )+36\,A\,\sin \left (3\,c+3\,d\,x\right )+15\,A\,\sin \left (4\,c+4\,d\,x\right )+112\,B\,\sin \left (2\,c+2\,d\,x\right )+42\,B\,\sin \left (3\,c+3\,d\,x\right )+140\,C\,\sin \left (2\,c+2\,d\,x\right )\right )}{420\,d\,\left (\cos \left (c+d\,x\right )+1\right )} \]
[In]
[Out]